package com.bigtotoro.shuiyincamera.util;

import java.util.List;

/**
 * Created by xiaobing on 2017/12/25.
 */

public class VideoItem {
    String path;
    int width;
    int height;
    int duration;
    List<VideoBitmap> images;

    private int type = 0;// 1 场景， 5， 开头， 6 结尾

    public static final int TYPE_NORMAL = 0;
    public static final int TYPE_SCENE = 1;
    public static final int TYPE_HEAD = 5;
    public static final int TYPE_TAIL = 6;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public List<VideoBitmap> getImages() {
        return images;
    }

    public void setImages(List<VideoBitmap> images) {
        this.images = images;
    }

    public static class VideoBitmap{
        private String path;
        private int duration;

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public int getDuration() {
            return duration;
        }

        public void setDuration(int duration) {
            this.duration = duration;
        }
    }

}
